import React from 'react'
import './index.less'

export default class FriendCircle extends React.Component {

  render () {
    const {hideDiscoveries, url, width, height} = this.props
    return (
      <div className="container-discoveries">
        <div id="window-container" className="window" style={{width: width, height: height}}>
          <img src={url} width={width} height={height} alt="绑定设备二维码"/>
        </div>
        <div className="shadow-discoveries" onClick={hideDiscoveries}/>
      </div>
    )
  }
}
